<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }

        .poem {
            color: #333333;
            font-size: 1.4rem;
            /* 文字从上到下排列，从右到左书写 */
            writing-mode: vertical-rl;
        }

        .author {
            color: #aaaaaa;
            font-size: 0.8em;
            margin-block-start: -30px;
        }

        .year {
            /* 横向组合文字 */
            text-combine-upright: all;
        }
    </style>
</head>

<body>
    <div class="poem">
        <h1>临江仙</h1>
        <div class="author">
            <span>杨慎</span>
            <span class="year">1488</span>
            <span class="to">~</span>
            <span class="year">1559</span>
        </div>
        <p>滚滚滚长江东逝水</p>
        <p>浪花淘尽英雄</p>
        <p>是非成败转头空</p>
        <p>青山依旧在</p>
        <p>几度夕阳红</p>
        <p>白发渔樵江渚上</p>
        <p>惯看秋月春风</p>
        <p>一壶浊酒喜相逢</p>
        <p>古今多少事</p>
        <p>都付笑谈中</p>
    </div>

</body>

</html>